﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace TMDT.BusinessObjects
{
    public class ChiTietThuocTinh
    {
        public Guid IDLoaiSanPham { get; set; }
        public Guid IDThuocTinh { get; set; }

        public static ChiTietThuocTinh Convert(DataRow row)
        {
            ChiTietThuocTinh chiTietThuocTinh = new ChiTietThuocTinh();
            chiTietThuocTinh.IDThuocTinh  = new Guid(row["IDThuocTinh"].ToString());
            chiTietThuocTinh.IDLoaiSanPham = new Guid(row["IDLoaiSanPham"].ToString());

            return chiTietThuocTinh;
        }
    }
}
